package com.xiaoma.stream;

/**
 * @author xiaomacdut
 * @date 2020年3月7日 下午12:14:18
 */
public class Person{
    
    private String name;
    private Integer age;
    private String country;
    private char sex;
    
    public Person(String name, Integer age, String country, char sex){
        this.name = name;
        this.age = age;
        this.country = country;
        this.sex = sex;
    }
    
    
    /**
     * @return the name
     */
    public String getName(){
        return name;
    }
    
    
    /**
     * @param name the name to set
     */
    public void setName(String name){
        this.name = name;
    }
    
    
    /**
     * @return the age
     */
    public Integer getAge(){
        return age;
    }
    
    
    /**
     * @param age the age to set
     */
    public void setAge(Integer age){
        this.age = age;
    }
    
    
    /**
     * @return the country
     */
    public String getCountry(){
        return country;
    }
    
    
    /**
     * @param country the country to set
     */
    public void setCountry(String country){
        this.country = country;
    }
    
    
    /**
     * @return the sex
     */
    public char getSex(){
        return sex;
    }
    
    
    /**
     * @param sex the sex to set
     */
    public void setSex(char sex){
        this.sex = sex;
    }
    
    
}
